package main

import (
	"todo-list/config"
	"todo-list/repository/cache"
	"todo-list/repository/db/dao"
	"todo-list/routes"
	"todo-list/utils/loggers"
)

func main() {
	config.InitConfig()
	loggers.InitLog()
	dao.InitMySQL()
	cache.InitRedis()
	r := routes.NewRouter()
	r.Run(config.HttpPort)
}
